'''
男儿八尺之躯,应当顶天立地
生者应如光照耀人间
班级:1908B
日期:{2020/7/14 0014}
阶段：Python高级
注意：一定要录屏！！！！！！！！！

'''
from rest_framework import serializers
from .models import *

class CateSer(serializers.ModelSerializer):
    class Meta:
        model = CateModel
        fields = '__all__'

class GoodsSer(serializers.ModelSerializer):
    class Meta:
        model = GoodsModel
        fields = '__all__'